package com.G_CN06.mvc.service.impl;

import com.G_CN06.commonUtil.commonResultConfig.CommonResult;
import com.G_CN06.mvc.entity.TestPaper;
import com.G_CN06.mvc.mapper.TestPaperMapper;
import com.G_CN06.mvc.service.TestPaperService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpSession;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Wu
 * @since 2023-03-07
 */
@Service
public class TestPaperServiceImpl extends ServiceImpl<TestPaperMapper, TestPaper> implements TestPaperService {

    @Override
    public TestPaper createTestPaperFromQuestions(int classId, int majorId, String name, int timeLimit, int totalScore, Map<String, Integer> questionTypes) {
        return null;
    }

    @Override
    public CommonResult saveForTeacher(TestPaper testPaper, HttpSession session) {
        return null;
    }

    @Override
    public CommonResult getConditionalTestPaper(String searchString) {
        return null;
    }
}
